ci: use hash-pinned actions - #43
Conversation
dependabot: consolidate updated using groups
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe PR consolidates Dependabot updates for shared GitHub dependencies and replaces mutable action/workflow tags with hash-pinned revisions annotated with their release versions. It also changes local reusable-workflow references in CI and publishing workflows to use Flow diagram for grouped Dependabot updatesflowchart LR
Dependabot[Dependabot GitHub Actions updates]
ActionsGroup[coatl-dev/actions group]
WorkflowsGroup[coatl-dev/workflows group]
ActionDeps[Shared action dependencies]
WorkflowDeps[Shared reusable workflow dependencies]
Dependabot --> ActionsGroup
Dependabot --> WorkflowsGroup
ActionsGroup --> ActionDeps
WorkflowsGroup --> WorkflowDeps
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".github/workflows/ci.yml" line_range="17" />
<code_context>
tox:
if: ${{ github.event_name == 'pull_request' }}
- uses: ./.github/workflows/tox.yml
+ uses: $/.github/workflows/tox.yml
</code_context>
<issue_to_address>
**issue (bug_risk):** The reusable-workflow references use `$/...` instead of the required repository-relative `./.github/...` path, so GitHub rejects both workflows and the local `tox.yml` workflow is never called.
**Suggested fix:** Change both references to `./.github/workflows/tox.yml`.
</issue_to_address>Sourcery assessment
Needs a human reviewer. 1 finding to address first, and the change replaces valid local reusable-workflow references with $/..., likely breaking CI and release workflows, and it upgrades pinned actions that run with PyPI credentials. A bad or malicious pin could expose the token or publish incorrect artifacts, and reverting would not undo those external effects.
Blocking findings: .github/workflows/ci.yml:17
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
|
||
| tox: | ||
| if: ${{ github.event_name == 'pull_request' }} | ||
| uses: ./.github/workflows/tox.yml |
There was a problem hiding this comment.
issue (bug_risk): The reusable-workflow references use $/... instead of the required repository-relative ./.github/... path, so GitHub rejects both workflows and the local tox.yml workflow is never called.
Suggested fix: Change both references to ./.github/workflows/tox.yml.
dependabot: consolidate updated using groups
Summary by Sourcery
Harden GitHub Actions dependency management by adopting hash-pinned workflow references and consolidated Dependabot updates.
Enhancements:
CI: